/**
 * 
 */
package com.acc.softmgr.business.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.acc.softmgr.business.dao.SoftmgrSubSystemMapper;
import com.acc.softmgr.business.model.SoftmgrSubSystem;
import com.acc.softmgr.business.model.SoftmgrSubSystemExample;
import com.acc.softmgr.business.service.ISoftmgrSubSystemService;

/**
 * 
 * @content
 * 
 * @date 2017年5月8日
 * 
 * @author OprCalf
 * 
 */
@Service
public class SoftmgrSubSystemServiceImpl implements ISoftmgrSubSystemService {

	@Autowired
	private SoftmgrSubSystemMapper SoftmgrSubSystem;

	@Override
	public long countByExample(SoftmgrSubSystemExample example) {
		return SoftmgrSubSystem.countByExample(example);
	}

	@Override
	public int deleteByExample(SoftmgrSubSystemExample example) {
		return SoftmgrSubSystem.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return SoftmgrSubSystem.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(SoftmgrSubSystem record) {
		return SoftmgrSubSystem.insert(record);
	}

	@Override
	public int insertSelective(SoftmgrSubSystem record) {
		return SoftmgrSubSystem.insertSelective(record);
	}

	@Override
	public int insertList(List<SoftmgrSubSystem> records) {
		for (SoftmgrSubSystem record : records) {
			insert(record);
		}
		return 1;
	}

	@Override
	public List<SoftmgrSubSystem> selectByExample(SoftmgrSubSystemExample example) {
		return SoftmgrSubSystem.selectByExample(example);
	}

	@Override
	public SoftmgrSubSystem selectByPrimaryKey(Integer id) {
		return SoftmgrSubSystem.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(SoftmgrSubSystem record, SoftmgrSubSystemExample example) {
		return SoftmgrSubSystem.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SoftmgrSubSystem record, SoftmgrSubSystemExample example) {
		return SoftmgrSubSystem.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SoftmgrSubSystem record) {
		return SoftmgrSubSystem.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SoftmgrSubSystem record) {
		return SoftmgrSubSystem.updateByPrimaryKey(record);
	}

}
